bitkeeper revision 1.7.3.30 (3e005dc6YHCLIwxSzkXDeRhGTRsFbQ)
authorlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Wed, 18 Dec 2002 11:36:38 +0000 (11:36 +0000)
committerlynx@idefix.cl.cam.ac.uk <lynx@idefix.cl.cam.ac.uk>
Wed, 18 Dec 2002 11:36:38 +0000 (11:36 +0000)
uninstumenting code

xen-2.4.16/common/dom0_ops.c

index 0c80595ff54e8c2c10520395d3d1c0a32e199eeb..a554e11a51f43615a676f58687f04bdfde8f29bd 100644 (file)
@@ -75,14 +75,14 @@ long do_dom0_op(dom0_op_t *u_dom0_op)
         /* if we are not booting dom 0 than only mem 
          * needs to be allocated
          */
-        //if(dom != 0){
-        //    if(alloc_new_dom_mem(p, op.u.newdomain.memory_kb) != 0){
-        //        ret = -1;
-        //        break;
-        //    }
-        //    ret = p->domain;
-        //    break;
-        //}
+        if(dom != 0){
+            if(alloc_new_dom_mem(p, op.u.newdomain.memory_kb) != 0){
+                ret = -1;
+                break;
+            }
+            ret = p->domain;
+            break;
+        }
 
         /* executed only in case of domain 0 */
         ret = setup_guestos(p, &op.u.newdomain);    /* Load guest OS into @p */